]> dgit.raspbian.org Git - gnome-shell.git/commit
unlockDialog: Don't create AuthDialog just to finish it
authorRay Strode <rstrode@redhat.com>
Fri, 8 Oct 2021 15:08:17 +0000 (11:08 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 8 Oct 2021 15:13:11 +0000 (11:13 -0400)
commit5d5bfe492cd81a081e80660761bac137d38133bd
tree5d5f6066f7ae69f7f1fbd305ee1bbb9b670ad4e0
parent4d1ce0de41b61ba4ed3b6747095e23d6203f6da5
unlockDialog: Don't create AuthDialog just to finish it

If the the unlock dialog gets finished before an auth dialog is
created, the code currently creates one just to tell it to finish.

This commit changes the code to skip creating the auth dialog in
that case.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1999>
js/ui/unlockDialog.js